.class-item {
  display: flex;
  justify-content: space-between;
  position: relative;
  height: 150px;
  width: 100%;
  margin-bottom: 50px;
  align-items: center;
}
.class-item:last-child {
  margin-bottom: 0;
}
.left {
  width: 250px;
  height: 150px;
}
.class-img {
  width: 100%;
  border-radius: 6px;
}
.class-type {
  position: absolute;
  left: 0;
  top: 0;
  width: 96px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size:22px;
  color: #fff;
  background-color: #03C9BB;
  border-bottom-right-radius: 6px;
  border-top-left-radius: 6px;
}
.right {
  width: calc(100% -270px);
}
.class-name {
  width: 100%;
  color: #333333;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 19px;
  @include ellipsis;
}
.eroll-time {
  width: 100%;
  color: #666666;
  font-size: 24px;
  margin-bottom: 20px;
  @include ellipsis;
}
.btn-restime {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/deep/ .van-button--small {
  padding: 0px;
}
.btn-study, .btn-pay {
  width: 120px;
  height: 44px;
  line-height: 44px;
  font-size: 24px;
}
.btn-study {
  color: #03C9BB;
  border: 1px solid #03C9BB;
}
.btn-pay {
  color: #BA2401;;
  border: 1px solid #BA2401;
}
.countdown {
  font-size: 24px;
  color: #BA2401;
}